﻿using System;
using System.Collections.Generic;

namespace SmartLibraries.DataAccessLayer
{
    public class SingleRow:Dictionary<string,Object>
    {
		public bool HasValue
		{
			get;
			set;
		}
		public T GetField<T>(string strKey)
		{
			if(this[strKey]==DBNull.Value) return default(T);
			return (T)this[strKey];
		}
    }
}
